package com.myersinfosys.protrack.poi;


public class PoiExcelWrite {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		int ret = 0;
		
//    	ExcelCalendar xlwrite = new ExcelCalendar(".//data//calendar.xls");
//    	
//    	ret = xlwrite.createExcelCalendar(-1,-1,1,1,1);

		
		ExcelWeeklyGrid xlwrite = new ExcelWeeklyGrid(".//data/weekgrid.xls");
		
		ret = xlwrite.setLayout(2011,6,6,
							  1,7,
							  21600, 108000, 1800);
			

	    if (ret > 0)
    		System.out.println("Succesfully created file.");
    	else
    		System.out.println("File not created.");			
	}

}
